/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Model.Servicios;

import Model.Bean.PagoLuz;
import Model.DAO.PagoLuzDAO;
import java.util.List;

/**
 *
 * @author sixviv
 */
public class PagoLuzSrv {
    private PagoLuzDAO pgDAO = new PagoLuzDAO();

    public void insertar(PagoLuz pagoRenta){
        pgDAO.insertar(pagoRenta);
    }

    public List<PagoLuz> getPagosLuz(){
        return pgDAO.getAll(PagoLuz.class);
    }

}
